package com.neu.fenli2023623.mapper;

import com.neu.fenli2023623.entity.Mzcz;
import com.neu.fenli2023623.entity.Mzxf;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
* @author surhon
* @description 针对表【mzcz】的数据库操作Mapper
* @createDate 2023-07-08 23:16:44
* @Entity com.neu.fenli2023623.entity.Mzcz
*/
@Mapper
public interface MzczMapper {
    List<Map<String, Object>> selectAll();
    List<Map<String, Object>> selectByDateRange(String startDate, String endDate) ;
    List<Map<String, Object>> selectByPatient(String patientName, String cardNumber);
    List<Map<String, Object>> selectByDateRangeOrPatient(String startDate, String endDate,String patientName, String cardNumber);
    int updateAddNote(Mzcz record);

    int deleteByPrimaryKey(Long id);

    int insert(Mzcz record);

    int insertSelective(Mzcz record);

    Mzcz selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Mzcz record);

    int updateByPrimaryKey(Mzcz record);

}
